//
//  UIFont+CustomFont.m
//  RentTable
//
//  Created by mac on 2024/11/28.
//

#import "UIFont+CustomFont.h"

@implementation UIFont (CustomFont)

+ (UIFont *)pingFangSCRegularWithSize:(CGFloat)size {
    return [UIFont fontWithName:@"PingFang-SC-Regular" size:size];
}

+ (UIFont *)pingFangSCMediumWithSize:(CGFloat)size {
    return [UIFont fontWithName:@"PingFang-SC-Medium" size:size];
}

+ (UIFont *)pingFangSCSemiboldWithSize:(CGFloat)size {
    return [UIFont fontWithName:@"PingFang-SC-Semibold" size:size];
}

+ (UIFont *)pingFangSCBoldWithSize:(CGFloat)size {
    return [UIFont fontWithName:@"PingFang-SC-Bold" size:size];
}

@end
